package cn.wancat.pattern.behavioral.chainofresponsibility;

/**
 * 顶层抽象
 */
public abstract class Handler {
    protected Handler handler;


    public void setHandler(Handler handler) {
        this.handler = handler;
    }

    abstract void apply(Course course);

}
